Skip to content

chore(deps): update Java SDK to v8.35.0#5017

Open
github-actions[bot] wants to merge 3 commits intomainfrom
deps/scripts/update-java.ps1
Open

chore(deps): update Java SDK to v8.35.0#5017
github-actions[bot] wants to merge 3 commits intomainfrom
deps/scripts/update-java.ps1

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 13, 2026

Bumps scripts/update-java.ps1 from 8.34.1 to 8.35.0.

Auto-generated by a dependency updater.

Changelog

8.35.0

Fixes

  • Android: Remove the dependency on protobuf-lite for tombstones (#5157)

Features

  • Add new experimental option to capture profiles for ANRs (#4899)
    • This feature will capture a stack profile of the main thread when it gets unresponsive
    • The profile gets attached to the ANR event on the next app start, providing a flamegraph of the ANR issue on the sentry issue details page
    • Enable via options.setAnrProfilingSampleRate(<sample-rate>) or AndroidManifest.xml: <meta-data android:name="io.sentry.anr.profiling.sample-rate" android:value="[0.0-1.0]" />
    • The sample rate controls the probability of collecting a profile for each detected foreground ANR (0.0 to 1.0, null to disable)

Behavioral Changes

  • Add enableAnrFingerprinting option which assigns static fingerprints to ANR events with system-only stacktraces
    • When enabled, ANRs whose stacktraces contain only system frames (e.g. java.lang or android.os) are grouped into a single issue instead of creating many separate issues
    • This will help to reduce overall ANR issue noise in the Sentry dashboard
    • IMPORTANT: This option is enabled by default.
    • Disable via options.setEnableAnrFingerprinting(false) or AndroidManifest.xml: <meta-data android:name="io.sentry.anr.enable-fingerprinting" android:value="false" />

Features

Full CHANGELOG.md diff
 -1,5 +1,27 
 # Changelog
 
+## 8.35.0
+
+### Fixes
+
+- Android: Remove the dependency on protobuf-lite for tombstones ([#5157](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/5157))
+
+### Features
+
+- Add new experimental option to capture profiles for ANRs ([#4899](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4899))
+  - This feature will capture a stack profile of the main thread when it gets unresponsive
+  - The profile gets attached to the ANR event on the next app start, providing a flamegraph of the ANR issue on the sentry issue details page
+  - Enable via `options.setAnrProfilingSampleRate(<sample-rate>)` or AndroidManifest.xml: `<meta-data android:name="io.sentry.anr.profiling.sample-rate" android:value="[0.0-1.0]" />`
+  - The sample rate controls the probability of collecting a profile for each detected foreground ANR (0.0 to 1.0, null to disable)
+
+### Behavioral Changes
+
+- Add `enableAnrFingerprinting` option which assigns static fingerprints to ANR events with system-only stacktraces
+  - When enabled, ANRs whose stacktraces contain only system frames (e.g. `java.lang` or `android.os`) are grouped into a single issue instead of creating many separate issues
+  - This will help to reduce overall ANR issue noise in the Sentry dashboard
+  - **IMPORTANT:** This option is enabled by default.
+  - Disable via `options.setEnableAnrFingerprinting(false)` or AndroidManifest.xml: `<meta-data android:name="io.sentry.anr.enable-fingerprinting" android:value="false" />`
+
 ## 8.34.1
 
 ### Fixes
 -180,7 +202,7 
 - Discard envelopes on `4xx` and `5xx` response ([#4950](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4950))
   - This aims to not overwhelm Sentry after an outage or load shedding (including HTTP 429) where too many events are sent at once
 
-### Feature
+### Features
 
 - Add a Tombstone integration that detects native crashes without relying on the NDK integration, but instead using `ApplicationExitInfo.REASON_CRASH_NATIVE` on Android 12+. ([#4933](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4933))
   - Currently exposed via options as an _internal_ API only.

Changelog Entry

  • chore(deps): update Java SDK to v8.35.0
  • chore(deps): replaced the heavy protobuf-javalite 3.25.8 dependency with a light-weight epitaph 0.1.0 alternative on Android (getsentry/sentry-java#5157)

@github-actions github-actions bot added the Dependencies Pull requests that update a dependency file label Mar 13, 2026
jpnurmi added 2 commits March 13, 2026 09:16
  Sentry.Bindings.Android net10.0-android36.0 failed with 1 error(s) (2.6s)
    /Users/jpnurmi/Projects/sentry/sentry-dotnet/src/Sentry.Bindings.Android/obj/Release/net10.0-android36.0/generated/src/IO.Sentry.Android.Core.Anr.AnrStackTrace.cs(20,74): error CS0535: 'AnrStackTrace' does not implement interface member 'IComparable.CompareTo(Object)'
  Sentry.Bindings.Android net9.0-android35.0 failed with 1 error(s) (2.3s)
    /Users/jpnurmi/Projects/sentry/sentry-dotnet/src/Sentry.Bindings.Android/obj/Release/net9.0-android35.0/generated/src/IO.Sentry.Android.Core.Anr.AnrStackTrace.cs(20,74): error CS0535: 'AnrStackTrace' does not implement interface member 'IComparable.CompareTo(Object)'
@github-actions
Copy link
Contributor Author

github-actions bot commented Mar 13, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Dependencies ⬆️

Deps

  • chore(deps): update Java SDK to v8.35.0 by github-actions[bot] in #5017
  • chore(deps): replaced the heavy protobuf-javalite 3.25.8 dependency with a light-weight epitaph 0.1.0 alternative on Android (getsentry/sentry-java#5157) by github-actions[bot] in #5017
  • chore(deps): update CLI to v3.3.3 by github-actions in #5002
  • chore(deps): update Cocoa SDK to v9.6.0 by github-actions in #4958

🤖 This preview updates automatically when you update the PR.

@codecov
Copy link

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.93%. Comparing base (bfe5319) to head (f770796).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5017      +/-   ##
==========================================
+ Coverage   73.92%   73.93%   +0.01%     
==========================================
  Files         497      497              
  Lines       17974    17974              
  Branches     3517     3517              
==========================================
+ Hits        13287    13289       +2     
+ Misses       3832     3826       -6     
- Partials      855      859       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@jpnurmi jpnurmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed a couple of commits to fix things for 8.35.0. There are explanations in the respective commit messages. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants